Skip to content

Comments

Let local folder name come from Customizer#23

Merged
Stevenic merged 1 commit intoStevenic:mainfrom
stevenic-microsoft:stevenic/customizer-changes
Feb 20, 2026
Merged

Let local folder name come from Customizer#23
Stevenic merged 1 commit intoStevenic:mainfrom
stevenic-microsoft:stevenic/customizer-changes

Conversation

@Stevenic
Copy link
Owner

Summary

  • Adds a localFolder getter to the base Customizer class (defaults to .synthos), allowing derived classes to override the local project folder name
  • Adds localFolder to SynthOSConfig interface and threads it through init(), repairMissingFolders(), and migrateFlatPages() so all log messages and generated content use the configured name instead of hardcoding .synthos
  • Updates synthos-cli.ts to use customizer.localFolder instead of a hardcoded string
  • Updates comments in pages.ts and useApiRoutes.ts to use a generic <localFolder> placeholder

Test plan

  • Run synthos start and verify the .synthos folder is created (default behavior unchanged)
  • Verify log messages reference the correct folder name
  • Verify example.sh content references the correct folder name
  • Create a derived Customizer with a different localFolder and verify it propagates

🤖 Generated with Claude Code

@Stevenic Stevenic merged commit cd4641c into Stevenic:main Feb 20, 2026
1 check passed
@Stevenic Stevenic deleted the stevenic/customizer-changes branch February 20, 2026 08:22
Stevenic added a commit to stevenic-microsoft/synthtabs that referenced this pull request Feb 20, 2026
Merges upstream/main (Stevenic#23) which adds localFolder
getter to Customizer and threads it through init(), repairMissingFolders(),
migrateFlatPages(), and synthos-cli.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant